package com.leyou.mall.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.leyou.mall.data.entity.Brand;
import com.leyou.mall.mapper.BrandMapper;
import com.leyou.mall.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 车矣捕
 * @version 1.0
 * @description: 描述
 * @date 2022/5/29 19:47
 */
@Service
public class BrandServiceImpl extends ServiceImpl<BrandMapper,Brand> implements BrandService {
    @Autowired
    private BrandMapper brandMapper;

    @Override
    public int saveBrand(Brand vo) {
        return brandMapper.saveBrand(vo);
    }
}
